package com.example.votingsystem.repository;

import com.example.votingsystem.entity.VoteOption;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface VoteOptionRepository extends JpaRepository<VoteOption, Long> {
    List<VoteOption> findByVoteTopicId(Long topicId);
}
